package com.example.officialwebsiteadmin.model.service;

import com.example.officialwebsiteadmin.model.entity.Articles;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

@Service
public interface ArticlesServices {
    List<Articles> ArticlesList();
    List<Articles> ArticlesPaging(Integer pagenum,Integer pagesize);
    Boolean ArticlesDel(Integer id);
    Boolean ArticlesPut(Object data);
    Boolean ArticlesAdd(Object data);
    String uploadimg(MultipartFile fileUpload,String filePath);
    Object Code(String codeData);
    Boolean subMsg(Object codeData);
}
